package org.publiccms.mybatis.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.publiccms.mybatis.entity.CmsCategoryAttribute;
import org.publiccms.mybatis.entity.CmsCategoryAttributeQuery;

public interface CmsCategoryAttributeMapper {
    long countByExample(CmsCategoryAttributeQuery example);

    int deleteByExample(CmsCategoryAttributeQuery example);

    int deleteByPrimaryKey(Integer categoryId);

    int insert(CmsCategoryAttribute record);

    int insertSelective(CmsCategoryAttribute record);

    List<CmsCategoryAttribute> selectByExampleWithBLOBsWithRowbounds(CmsCategoryAttributeQuery example, RowBounds rowBounds);

    List<CmsCategoryAttribute> selectByExampleWithBLOBs(CmsCategoryAttributeQuery example);

    List<CmsCategoryAttribute> selectByExampleWithRowbounds(CmsCategoryAttributeQuery example, RowBounds rowBounds);

    List<CmsCategoryAttribute> selectByExample(CmsCategoryAttributeQuery example);

    CmsCategoryAttribute selectByPrimaryKey(Integer categoryId);

    int updateByExampleSelective(@Param("record") CmsCategoryAttribute record, @Param("example") CmsCategoryAttributeQuery example);

    int updateByExampleWithBLOBs(@Param("record") CmsCategoryAttribute record, @Param("example") CmsCategoryAttributeQuery example);

    int updateByExample(@Param("record") CmsCategoryAttribute record, @Param("example") CmsCategoryAttributeQuery example);

    int updateByPrimaryKeySelective(CmsCategoryAttribute record);

    int updateByPrimaryKeyWithBLOBs(CmsCategoryAttribute record);

    int updateByPrimaryKey(CmsCategoryAttribute record);
}